package com.pll.service;

import com.pll.controller.admin.user.vo.MerchantLoginVO;
import com.pll.controller.admin.user.vo.MerchantRegistrationVO;
import com.pll.controller.admin.user.vo.MerchantSettledVO;
import com.pll.dto.ResponseDto;
import jakarta.servlet.http.HttpServletRequest;

/**
 * @className: UserService
 * @author: XR_Z
 * @date: 2025/6/7 18:22
 * @Version: 1.0
 * @description: 用户Server
 */

public interface UserService {

    /**
     * 商家登录
     * @param loginVO 商家登录VO
     * @return dto
     */
    ResponseDto login(MerchantLoginVO loginVO, HttpServletRequest request);

    /**
     * 商家注册
     * @param merchantRegistrationVO 注册信息
     * @return dto
     */
    ResponseDto enroll(MerchantRegistrationVO merchantRegistrationVO);


    /**
     * 商家入驻
     * @param merchantSettledVO 商家入驻VO
     * @return dto
     */
    ResponseDto merchantSettled(MerchantSettledVO merchantSettledVO);
}
